package com.njtoyo.taxi.admin.rest.wrapper.finance.dto;

import cn.hutool.core.date.DatePattern;
import cn.hutool.core.date.DateTime;
import com.njtoyo.taxi.admin.mapper.master.entity.Company;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.List;

@Data
public class FinanceIncomeBelongStatDto {

    @ApiModelProperty("开始日期，格式：yyyy-MM-dd")
    @DateTimeFormat(pattern = DatePattern.NORM_DATE_PATTERN)
    private DateTime startDate;

    @ApiModelProperty("结束日期，格式：yyyy-MM-dd")
    @DateTimeFormat(pattern = DatePattern.NORM_DATE_PATTERN)
    private DateTime endDate;

    private List<Company> companyList;

}
